More TopologyComputation speed-ups.

Take std::vector declarations outside of loop.
Undo minor change in MeshTopology.