Calculating Angular Position Sensor