Typo in doxygen comment
Fix doxygen comment of det_num_digits()
Delete empty lines
Update doxygen comments