normalizing orientation parameters