This function creates the basis part in every bin of the Fourier series for the diffusion \(\ln \ (D)\). At the bin border the basis is calculated with
hereby \(k\) is the number of coefficients, \(i\) is the bin index and \(n\) is the number of the bins.