Changed the way the length of the rotors is calculated.
Added a way to turn off rendering.
Cleaned up code.