fixed the setting of the vector bug by using inf instead of max value
made the octree consider equal points as inside them and that made the graph render again
replaced closure property with a interface since it has implicit overloading
changed closure with Runnable because it is more flexible
replaced more stuff with interfaces instead of closure, allowing more flexibility in that entire classes can be used instead of only the closure class
did some major refactoring