Added lots more things to the algorithms, although a lot of it is just to get words down.