Add in Tony Larson's fix to integration logic, to account for non-uniform scan densities