Add Yen threshold method
Codestyle improvement
Yen PEP8 and docstrings
Added Yen tests, typo fixed
Logarithm optimisation
Fix import list sequence