expose weighted fitting to python and make standards happy
read_partial_profiles and break down long foxs main