stochastic gradient descent implemented under the name of Network.sgd; generalized Network.apply function for either batch or non-batch input; added set_norm function to misc.py to calculate the error in a set/batch; added time-elapsed calculation