I have a dataframe which holds covariance data, hence we have a square matrix. I translate this dataframe into numpy and then to list as below, so that I can use it with the mat