New gitignore and updated MatrixRotator class.