Trend-Filtered Projection For Principal Component Analysis