ReforMath: A C library for MathML conversion