2d Transformation Matrix Calculator