ai = (max - a i) neti - decay (ai - rest)
ai = (a i - min) neti - decay (ai - rest)
where
ai is the amount by which we change
ai.