Advanced Math Java API with input interpreter