Learning neural networks, code to make sense of https://class.coursera.org/neuralnets-2012-001/class