Fixed bug: was still not converting well algebraic transformations to matrix: was failing for transformations with terms like "X-Y+1/3"