Changed dPhi calculation