When I run into this type of problem I usually reroute power from the deflector dish to the sensor array and run a level 2 diagnostic using a tachyon beam.
Usually gives me a pretty accurate reading of the distance unless, of course, if you have superstring emissions from the rolling tachyon...