assign_clustpp function

Function for assigning clusters to rows in a matrix