addded Matrix class the make basis transformation easier.
added Primative Interface and made the Shape class implement it
Iva showed me that it's "primitive", not "primative". This is fixed. Also did some bugfixes in Matrix