merged gpu math and volcurve math into this project