Changed algorithm descriptions and reformatted