added 1d filtering of signals binary compatible with matlab)