Application of the Trend Filtering Algorithm for Photometric Time Series Data. (23rd June 2016)