Added Bayes Risk Function

Added a bayes risk function that makes the assumption that the model has
an explicit Q matrix assigned to it.  At present Q is not specified as
part of the abstract model class, but that may be worthwhile later.