Optimized determinants