Remove extraneous g elements, simplify tick code.
Remove extraneous g elements, simplify tick code.

Speeds up animations in Firefox, which gradually slows down and in some cases hangs before convergence on complex networks (see https://bugzilla.mozilla.org/show_bug.cgi?id=791699).

sbai/viz3k,sbai/viz3k,sbai/viz3k