Clean up

Most of the code from main() in fit_von_mises.py was moved into small reusable functions. It's a preparation for allowing configurable parametric studies, i.e. comparing fits with different parameters.