commented all functions in ensemble.py with docstrings

see #3