added N^2-dependence to tolerance and renamed gradient descent parameters as stored in GrowingNetwork3D to reflect f(N)-dependence