Fixed dimensions in debug_initialize_weights.
Correct boundary calculation and reshaping.
Don't count intercept terms in layer sizes.
First stab at checking NN gradients.