Added a miniature matrix library for helping out with some of the other operations.
Switched the implementation of my barycentric code to the matrix implementation. Works in 2D...