renamed vis method
added handling of degenerate cases
changed array to vector and handled re-ordering more elegantly
fixed index error and added documentation
added tests for BoundingSphere class
removed test-only functionality