OpticalFlow update I

Calculating for windows instead of the average values