Fixed polar calculation