Tidied the code. Made the fonts larger for publication purposes. Included more diagnostical numbers on output