WIP - added comments to dense fitting code in main fit.py