compute_shoelace_core function

Compute the shoelace core for convex hulls of a single variable