This function creates the basis part in every bin of the Step model for the diffusion profile. The dimension of the basis matrix is \(n_{bin} \times n_{diff}\). At the bin border the basis is calculated with
hereby is \(bin = [0,...,n_{\mathrm{bin}}]\) with \(n_{\mathrm{bin}}\) as the number of the bins. The variable \(\Delta x\) is define by
with \(i = [1,...,n_{\mathrm{diff}}-1]\).