flere log statements. ingen effekt
Fixed wrong segment drawing

The bug that we looked at for two hours last monday (18. nov 2013)
is now fixed. The long haired explanation is as follows:

The current algorithm works by starting with only making coarse
calculations of the surface distance, and only increase
precision when convergence stalls. This is to save time in the
many calculations of the surface distance. It works, as it
provides better precision in shorter time than the previous
algorithm which had constant precision in the surface distance
calculations.
However, it's has a disadvantage: if starting with a too coarse
calculation of the surface distance, two or more values of phi
can share the "same" surface distance (that is, the same
approximation of the surface distance). With higher precision,
one of the phi values would be ruled out - it would be revealed
that it doesn't correspond to the wanted surface distance (the
variable 'projectionDistance').
If this problem arises, and the coarsely found surface distance
of the wrong phi value is sufficiently close to the wanted
surface distance ('projectionDistance'), the algorithm can judge
the surface distance to be sufficiently close to the wanted
projection distance, and thus accept the corresponding (but
wrong) phi value as the correct one. If the surface value
however isn't close enough to the wanted distance, the algorithm
will increase the precision of the calculation of the surface
distance, and this *should* ensure convergence (for well
behaving surfaces). However, this hasn't been tested.