Find the distance between the points (5,1) and (1,4).