core/math/geom.h/cpp was taken from my research project.  Nothing special here except basic math data structures that I didn't want to re-implement.
