added inside costfunctions
Merge branch 'master' of https://github.com/yazdani/sherpa_project