QuickHull3D in scala