Okay well that was A PAIN and it took extremely too long time to get working, but I finally got the implementation for the Delaunay triangulation working. Why, do you ask? Well, because I want one for 3D and the available implementations are gpl and I don't like gpl.
I started with a 2d version because I thought it might be better to get started easy and it's been such a pain in the ass I don't know if I can do the 3D one, we'll see. But just having this working now is nice, very nice.