Nonnegative matrix factorization for clustering