Hodrick-Prescott filter for python