Minor updates to algorithms section