Fix for num classes in DenseDesignMatrixPyTables