Modified model to use only my implementation of a matrix, and only using AffineTransform's constructor