Fixed small mistakes and made documentation better