updateAngle now returns null if you're passing in a NaN