* Adds exponential moving average algorithm
* code clean up
* spell correction
* Modifies I/O types of function
* Replaces generator function
* Resolved mypy type error
* readibility of code and documentation
* Update exponential_moving_average.py
* Adds hinge loss function
* suggested doc and refactoring changes
* refactoring
---------
Co-authored-by: Christian Clauss <cclauss@me.com>