Updated documentation
Renamed, updated docs, added iterateWhile