fixed quantile default typo and changed signature of function returned by metropolis