def _expand_config_space(self):
        """
        Expands the config input space into a list of diccionaries, one for each variable_dic
        in which the dimensionality is always one.

        Example: It would transform
        config_space =[ {'name': 'var_1', 'type': 'continuous', 'domain':(-1,1), 'dimensionality':1},
                        {'name': 'var_2', 'type': 'continuous', 'domain':(-3,1), 'dimensionality':2},

        into

        config_expande_space =[ {'name': 'var_1', 'type': 'continuous', 'domain':(-1,1), 'dimensionality':1},
                      {'name': 'var_2', 'type': 'continuous', 'domain':(-3,1), 'dimensionality':1},
                      {'name': 'var_2_1', 'type': 'continuous', 'domain':(-3,1), 'dimensionality':1}]

        """
        self.config_space_expanded = []

        for variable in self.config_space:
            variable_dic = variable.copy()
            if 'dimensionality' in variable_dic.keys():
                dimensionality = variable_dic['dimensionality']
                variable_dic['dimensionality'] = 1
                variables_set = [variable_dic.copy() for d in range(dimensionality)]
                k=1
                for variable in variables_set:
                    variable['name'] = variable['name'] + '_'+str(k)
                    k+=1
                self.config_space_expanded += variables_set
            else:
                self.config_space_expanded += [variable_dic]
Expands the config input space into a list of diccionaries, one for each variable_dic
        in which the dimensionality is always one.

        Example: It would transform
        config_space =[ {'name': 'var_1', 'type': 'continuous', 'domain':(-1,1), 'dimensionality':1},
                        {'name': 'var_2', 'type': 'continuous', 'domain':(-3,1), 'dimensionality':2},

        into

        config_expande_space =[ {'name': 'var_1', 'type': 'continuous', 'domain':(-1,1), 'dimensionality':1},
                      {'name': 'var_2', 'type': 'continuous', 'domain':(-3,1), 'dimensionality':1},
                      {'name': 'var_2_1', 'type': 'continuous', 'domain':(-3,1), 'dimensionality':1}]