nslices
the number of slices, no larger than n, or a vector of
p numbers giving the number of slices in each direction. If y has p
columns and nslices is a number, then the number of slices in each direction
is the smallest integer greater than the p-th r