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

Because that was throwing a silly number of errors