Mendelian sampling terms changed from uniform to N(0,1) distribution. Function documentation added. PEP 8 cleanups.