Splittting pull request #45: signal model fit