Added notes and fixed a few typos