filter now working, issue with cosine taper resolved