added function to compute angle axis from quaternion