Modified carrier phase calculation