Changed some wording of algorithm