updated rectification program and created a test program for intensity-based image registration