A matrix math library