code: def _normalise(self):
          
          if not self.is_unit():
              n = self.norm
              if n > 0:
                  self.q = self.q / n
docs: Object is guaranteed to be a unit quaternion after calling this
          operation UNLESS the object is equivalent to Quaternion(0)