Fixed some typo and inaccuracies in the documentation