Synced the code with a side project in which I originally wrote
ConvertAngle class.