More filter stuff

Convert the biquad filters to use transposed form biquad algorithm, because it has better performance and also better quality/accuracy.

Also other misc. optimizations.