adding code to calculate rotation between 2 quaternions