Rotations work soooo much better now. TODO: Write wrapper classes for discretization and integrate rotation and linear code.