commented all functions in fit.py with docstrings, add makeGaussTruncPrior

see #3