curve decomposition via least squares
Merge branch 'master' of https://github.com/ksteinfe/decodes