Fixed bugs

1d array vs 2d array
use mkvc in Digital filter