Update Sphere.java

Changed getValue() to public