Added a distance function to utility.
Added is_inside and is_left_of functions to utility.
Removed unused cleanup_set function from DSC.
Created a virtual garbage collect function in DSC class.