Small changes

Updating tex file with new citations and fixing some typos. Small fixes
to the code which do not affect functionality