updated Algorithms to current working copy