returns distance from point (x,y) to line x, y – coordinates of point – np array m line – np array nx2 – linestrings