getting there with the clustering, pwd works, not matrix yet