First python 3 test fix: test_confusion_matrix_binary. map returns a generaor but a list is expected in confusion_matrix.