'Generate sequence with [max, min, rest of original entries]'

def maxmin_dup_sequence(self, x):

    x = np.array(x)
    y = ([x.max(), x.min()] + list(x[2:]))
    return np.array(y)[:self.OUTPUT_SEQUENCE_LENGTH]
