Added references to bib and some changes to implementation.tex