Remove original matrix implementation

Being replaced by two APIs: matrixy and arrays.
Remove amdefine from dependency list
Doc updates

Add a few codo comments where possible/relevant.
Update package.json

'main' entrypoint should now be correct.
Extra APIs/tests for dimensions, triangular and decompose
Transpose and invert for matrixy API
Equation solver for matrixy API