Added pixel scale matching and regridding code.