Lua front end for Shape Matcher