Translates the matrix by x and y.
The matrix that is to be translated.
Translation in X direction.
Translation in Y direction.