Some PHP classes to do mathematics