Fixed some errors and made some improvements in the documentation, thanks to @micskeiz .