Added gradient checking

Checked Gradients by numerical methods which proves that the
backpropagation is working fine. Bug somewhere else/