Update algebralgorithms.h