Add example fitting script.

As in the last commit, this is very messy and 2010 specific.
Mainly committing for historical records.