Added a Params object which will hold various parameters that the different codes can reference, rather than having to pass them from function to function.
Added Python wrapper code for setting up the Params class.
Updated the example scripts to create/pass a Params object.