def func(x):
	return pos.distance(pos.hand_pos(x[0],x[1],x[2],x[3]),b)