Update math, multiprecision from develop.