Using matrices to transform the plane