Update stat_equations.py

Added Commenting and initial QC