Made some tests and fixes to transform
Rework transform inverse
Matrix rotation inversion works