for consistency with my functions, and clarity I would prefer renaming
mat -> corr

This assumes a raw correlation matrix, not a covariance or arbitrary matrix, does it ?