Tidied up some of the code and rephrased some of the instructions in the
README