Perform cross correlation of a series of RAW image pairs. Calculates displacement vectors.

-fixed problem with matrix dimensions.
-fixed index to pix issues
-Something weird is going on still. Flow is reversed.
converts the (fractional) index coordinates of the cross-correlation peak into (x,y) displacements; also inverts y-axis so that positive is "up"