exp_findPatterns(data, flat_fraction)x^i over all i from 1 to ncol(data)-1, where
x is 1, 2, or 3, depending on whether the pattern is up, same, or down,
respectively, for transition i.
The second column contains the magnitude of the pattern.