modified the number of basis function: now the results are better