Implemented regions as an option so the code doesn't have to be edited.
Merge branch 'master' of https://github.com/g-rutter/MD-scripts