Architecture and NeuralNetwork Weight Changes

Don't merge to master. The codes contain debug statements. But just make the necessary changes for Architecture and NN.