Updated metrics to 3.1.0
Merge pull request #28 from mwanji/update_to_metrics_3.1

Updated metrics to 3.1.0, thanks @mwanji