Got Optical flow working