Lots of minor edits. Also added Makefile.