Math component from Zend Framework 2