Add Python version of the MATLAB MESH2D toolbox connectivity function. This is useful to find the coastline (mesh boundary) for a given domain.
Fix bug with single date arrays.