added N-dimensional asm.js example + started implementing it