Changed iteration line to be implemented by concrete Method class
Fixed derivative logic
Implemented Newton Raphson