SMS dit: Robust regression and outlier detection