Improve the ball spin calculation