Added tex document, fixed typos