fixed lat/lon error and created prototype for integrated rectification script