cleaned up edgeLinearDistance code in GrowingNetwork3D