The length of the median from the vertex A of a triangle whose vertices are A(−1,3),B(1,−1) and C(5,1) is