Update algebralgorithms.h
Merge pull request #2 from klite/patch-2

Update algebralgorithms.h