Minor fix to the scoring model.
Improved python function documentation.