"where d(FI[n],FO[n]) is the squared Euclidean distance between the fingers"
The formula that is then given is under a square root, i.e. it is the Euclidean distance NOT the squared Euclidean distance.