Optimised rendering of quadtree

Utility methods such as determining whether or not a quadtree uses a
particular vertex have also been added