Update matrix_rotator.pl

Minor clean up