Tidied up code, added a couple of plot functions, separated script and functions for reusability.
Merge branch 'master' of github.com:ohdh14/prescriptions