Fixed import of quantile
small fixes