enh: mat viewer, kmeans pipeline