Fixed some errors and added new notes.