cumsum in chebtech now works.