add optical flow test and fixed bugs in warpImage; finish maths test and fixed bugs in dx,dy,dxx,dyy,dxy