Use libvmath for maths.