Remove max_labels in DenseDesignMatrix

Remove max_labels in DenseDesignMatrix and related small changes in MNIST dataset and CIFAR10 dataset.