implemented edgeLinearDistance in GrowingNetwork3D