Matrix testing added

running this tests, the rotate tests fails.
a fix of Matrix.cs is ready, I'll commit it later in a seperate pull request