Added method for interplanetary distances in galaxy class