Improve Documentation
Fix Types

uint32_t is not the same as an unsigned int