Corrected newtonAcceleration function
Corrected newtonAcceleration function