normalize attitude