Cleaned up scratchBuf stuff.

Also renamed "convolve" to "conv".