I fixed so the relation between uk and d is correct.

If there are K elements in uk there should be 2(K - 2) (K-2 for each coordinate) in d.
Merge branch 'master' of github.com:vmiller17/FMNN25