Non-linear Mitigation Using Carrier Phase Estimation and K-Means Clustering