Multiprecision matrix library