adds l2norm constraint

changes learningrate to take epoch and momentum as parameters. Adds
hinton dropout network to examples