Created c-api and stackmat.js to wrap it using webworkers. stackmat.html is a basic demo.