add failing test
refactoring, however, I think we could delete this warning
enhance taper for the case 2*wlen==npts, maybe this is hypocritical, if you think so, please revert.
fix small error