Truncated Sum Of Squares Estimation Of Fractional Time Series Models With Deterministic Trends