added initial concave hull function