The numpy function matrix no longer works in numpy 2.0. Replace np.mat with np.asmatrix in Line 138 in specFunctions.py