Completion of documentation and minor changes to code

Minor changes to all functions including the removal of "Confidence" for
the time being