first attempt at implementing gao thesis noise analysis