twod_cow function

Two-dimensional correlation optimized warping alignment