Predictions implemented (prediction method)
Updated newton-raphson