Rewrote code to calibrate rotors. Now runs a lot more sensibly.