- doc fixes for several functions
- a few bugfixes for cmb codes