#1: Adds scaling capability for matrices.
#1: Adds 2D rotation for matrices.