cleared the backend from most allocations (for robustness, not speed), added the rotation example
forgot this...