another bug in matlab code

fixed yet another bug that led to the latin hypercube design not being
used