sample weight support for robust regression via weighted percentile algo

same for the next line.