Implemented CPU convexhull (giftwrap), still not working 100%.