Change number of basis functions