modified network to use backpropagation (still not 100% correct)
changed network example to display linear function approximation