backup Omkar Muralidharan's original codes
Merge https://github.com/boehm128/stat992-spring2013
al;dsf