public double potential(double distance, double massA, double massB,double combined_radii){
 		distance=Math.copySign(Math.max(SMALL, Math.abs(distance)),distance);
		return massA * massB * Math.log(distance);
	}