Assuming the number of rows is constant, work out the best
        number of columns to use.

def calculate_columns(self):
        """Assuming the number of rows is constant, work out the best
        number of columns to use."""

        self.cols = int(math.ceil(len(self.elements) / float(self.rows)))