minor bug in calcOpticalFlow when using lastImage and currentImage parameters