Added table of contents an tidied up notes