sample weight support for robust regression via weighted percentile algo

np.sum(sample_weight[mask] * diff[mask]) => np.dot(...,...)?