While the new behaviour arguably does have benefits, the legacy zero-padding
approach isn't strictly wrong. On the whole, changing this between bugfix
releases is probably more annoying than sticking with a slightly inferior
solution (for now).
=> rewritten Savitzky-Golay code changed to use zero padding