beginning new pipeline architecture overhaul: implemented new apply_array_location_correction()