Ji image alignment

Implemented a test suite.  More functionality in returning and using the calculated displacements.