Working optical flow computation
TODO make faster
TODO make segmented