Back prop using numpy