added printing of convex hull (with error)