Starting work on optical flow; currently still way too slow