quant_helper_fun function

Helper function for fitting quantile regression