YOU CANT REALLY DO CORRECTION IN PHASED ARRAYS...
title says distance error instead of correction error
since there are no error corrections for PA remove it from title
use variable delta_x for input to nf_array_factor
scratches...