More general CV indices generator

This is a more general version of CV indices generator. It does not
need to specify number of row labels. This was applied in the new
analysis.
Fixed version of Lasso

I am still not sure whether I implement the procedure correctly, while
it is able to produce a reasonable accuracy now.