adding some helper functions for fit_maes_trend
Merge pull request #32 from ThierryO/master

adding some helper functions for fit_maes_trend