removed some couts
changed sigmoid and threshold to return functions instead
network now uses function objects instead of pointers
sigmoid now multiplies by width instead of dividing
changed network example to not be a pointer

pointers are evil