Added test to check the stability of quaternions while rotating vectors. Fixed bug in multiply method.