Added cross val. found bug in depth>2