Removed unused GET-METRIC-DIGEST functions and calls.
Removed unused getMetricDigest (we use getmetricvaluedigest) and added
javadoc comments.