Crash with multiple hidden layers and more hidden nodes
This line in the neural network code assumes that weight vectors are the lenght of the input It causes a crash if there are multiple hidden layers that have more nodes than the nuber of inputs. Fix it.