pep-8 compliant variable naming

Initial attempt to standardise naming. Addresses #27.

Testing (single self test and automated testing run) OK on Linux.