Added pep 8 + ref + numerical stability