Added functions for connected components and boundary extraction