a calculator for synthetic division with remainder theorem explanation