Variables n and rho_max are now read from terminal.

Some minor changes are made (mostly just making the code more
consistent).
The matrix R is now printed out to a file. HOWEVER, it does not give
correct results o.O Something's wrong. Terribly wrong. Might be the
rotation function, but I don't have the brains to look at it atm.