made leja quadratures rules work with sparse grid