Documentation for CBool

Added documentation for CBool and related functions.