Some Imatest calculations up to v5.1 inappropriately averaged zeros with summary metrics

Problem

Certain imatest calculations in version 5.1 and below produced zeros when the calculation was not determined. These zero values could be inappropriately averaged with summary metrics which lead to these summary metrics being underreported.

The problem includes, but is not limited to the following summary metrics:

Solution