Add rotation wrt center of a matrix.