Fix several typos and improve the User and Reference manuals