Squashed 'src/lib/JS-Algebra/' changes from f752c65..6a3521f

6a3521f Added roots.

git-subtree-dir: src/lib/JS-Algebra
git-subtree-split: 6a3521f381d757b44d2f61c6bfbd9b40766ddf83
Merge commit '8855fa5bf8ac6e69c34d013378543aad968390b6'