Started implementing the code for image registration. It now exists in its own function, but we need a function to get the native pixelscale for an image before it can work properly.