Finished an initial implementation of the code to calculate the alignment between two images. Still needs to be optimized for larger images.