draft mul structure
cleanup & change code style
compiled C draft
stabilized ffi mul
fixed off-by-one bug
added lua tpsa
unified with mad tpsa + cosmetic changes
Merge branch 'ffi'
added and integrated ffi and negative idxs