returns distances from point (x,y) to line1 and line2 x,y point – np array m line1, line2 - np array n x 2 – linestrings