New MBI sum of cosine fitting func
Merge branch 'master' of https://github.com/teamdiamond/analysis