Stage1 of chebfun2 fitting seems to work