Added plot of conditional probability, completed derivation of the max-likelihood solution for w

It's probably a good idea to clean up my derivation (I did it quickly), but the logic and mechanics are all there.
Merge pull request #1 from dhammack/master

Added a plot, continued derivation