Doxygen documentation fixes.

Some mising /ref changed to <B></B>.
Added missing @param's
Added missing newlined between functions defs.