Added notes on runtime, and fixed algorithm block. More notation consolidation.