got mathnet to work, wrote QuadraticForm function delegate using mathnet, appears to work