Partially addressed issue #18.
Weights of fitting are now exported in .csv files.