Fixed getEulerYPR method