cvtree function

Extracts variable cluster IDs