finish gradient checking of feedforward