mat -> data 
so signature indicates that the function takes the original observations, not a raw covariance matrix