Fixed bug in calculation of derivative filter taps.