filter.polyfit seems to work again