Fixing a ton of errors in references (new bib file), minor corrections to algorithm 4.