dr.slices function

Divide a vector into slices of approximately equal size