fixed the wrong definition of quaternions for wpf