quaternion class really screwed me over =/