Shockdesigner331 - the advice that IRstuff gave, use quaternions, is the very best way to go although Kuipers book is not very helpful in learning to use quaternions to perform rotation mathematics. There is very little literature that will actually help you learn quaternion basics...