Adding Linear Algebra js