def update(self, vals):
    if (self.dims > 3):
        pass
    elif (len(vals.shape) == 3):
        for i in range(len(self.meters)):
            self.meters[i].update(vals[:, i, :self.max_points].flatten())
    else:
        for i in range(len(vals[0])):
            self.meters[i].update(vals[:, i])
def update(self, vals):
    if (self.dims > 3):
        pass
    elif (len(vals.shape) == 3):
        for i in range(len(self.meters)):
            self.meters[i].update(vals[:, i, :self.max_points].flatten())
    else:
        for i in range(len(vals[0])):
            self.meters[i].update(vals[:, i])