First attempt at transformation

The matrix is loaded from a .matrix file. It should contain 3 lines with
3 values separated by commas.