Fix conversion between unit and implement angles