added quaternion and matrix classes for multiplication, rotation, etc