Relax matching resolution to 1e-12; Move gradient module into the testing submodule
Simplify tests for MLP; Use lab code (#129)