added get_metric method + typo fixes in documentation