Tex and Small Changes

Updating tex file. Made some small changes to get code closer to a final
run.