Rename VALGRIND to MEMCHECK.

Valgrind is a multi-faceted tool, this is more specific.
Might be worth considering using fixed-point math.

This would solve floating-point accuracy problems
and be fully consistent between platforms.