Cleaned up code. Implemented subroutines to tidy up sections.
Bigger scale
Fixed python formatting issue with expandtabs in vim
Minor formatting improvements.
Support added for gnuplot commenting in vim