Runtime Shape errors in the backward pass

I did not know about the anomaly catching block, this would be really useful for this other problem that I was facing where I got NaNs popping up sometimes. Thanks @albanD!