make_colnames function

Make matrix column names unique.