Threshold error fixed.
Shape test fix.
Merge pull request #29 from ufo-kit/fix-alignment

Alignment measure fixes.