Creating a Java ME Math.pow() Method