Modified files to make documentation easier to read. Also changed many size_t parameters to the new bitsize_t typedef, as suggested by Marius Stoica.