Forked https://github.com/zendframework/Component_ZendMath