Redid most of the math and the formalism. Rewrote the learning section. Restructured related work as per Ellis' suggestion. Did some other restructuring