Fixes angle conversion functions