Added bignumber support for improved function `det`.