need to address sampling infinity
Merge http://github.com/jvpoulos/stat243-final