small fixes and format in the documentation

Fixed a type and corrected some style issues :)