took me long enough to realize my magnitude-smoothing function reduces to a dot product, so i could do some linear predictions to reduce computation (it's currently a million multiplies). this might be the first time i've run into a problem that's actually truly a linear system, so i know i have a lot of options but experience with almost none.