Added methods to design_matrix