updated approximation testing and fourier inversion
updated approximation testing and fourier inversion