added function to create a functional group confusion matrix in numpy format