quaternion logical bug has been fixed

method Set has an logical error