Remove some leftover commented code
Refactor the shit out of Degrain1

Use the same code to process all three planes.

Also move LimitChanges_c to MVDegrains.h.

Breaks compilation.
Refactor the shit out of Degrain2
Refactor the shit out of Degrain3

Fixes compilation.