Calculate mvd without abs()