Fixing formatting, sphinx errors, warnings, spellings