Added implementations of classification success statistics functions.