fixes index use in Convex Hull in 2D case
Using indices when building data
Merge pull request #76 from fran6co/patch-1

fixes index use in 2D Convex Hull