Fixed copyright years.
Made compatible with currend FiniteDiff1DM syntax.
Added unit test for GradientM.