Plotting functions separated from the main script.
Plotting functions went to a separate file.
blaa