taper: override 'p' kwarg for cosine taper