fixed bug in deriv & fixed-point function calls