Made annotationMatrixForBayesNetwork(...) not fail on NULL argument.