Fixing problem 2 stuff.
Added in final version, and binary stuff

The output.mat file is committed, as it is required to
produce the correct output.  The final .pdf file was
also committed, to allow for a look at what I turned in.