I fixed a bug that made Euclidean.cpp miscalculate distances to portals.

The image of the icosahedron appears to grow and is inverted after crossing the portal. This may be a resurfacing of an earlier bug in which the portal was in the wrong place on the wormhole, and did not smoothly connect to Euclidean geometry.