Fixed bayes function name
Added generic documentation files.