still trying to get apache math to work