Adding distribution, hooking up rotate, flip, making stuff fast