Added encoding tag to Python source.
Cleaning up in progress. Integrating argparse before moving hardwired parameters to command line.