fixed backprop for multiple examples; added costs function; bug: weights and biases not updating