Function for saving a matrix to a specified file. Uses the save_df_to_file function.
matrix
save_df_to_file
save_mat_to_file(mat, file)
mat
file
string. The name of the file, can be a full path.