Calculate Acceleration With Friction