Solves Kepler's equation numerically using java