Performance fix. Eliminated unnecessary radians conversions.