Added some fixes to the comments and the codebook