luajit implementation of lpack