Wrote a method on Axis to return pitch and yaw values