Added proper docstrings for metrics