Normalized a couple algorithms and added some page formatting for extra awesomeness