DMV function

Calculates Difference from Mean Value (DMV)