basic edits per Brian to manuscript and fixed line numbering issue