Added new math library based on TFM.