function savgol() to Utils.py and downstream relevant modifications