Added Bias to each layer
(refactored Neuron to inherit from BaseNeuron, so BiasNeuron can inherit from it too)
ObjectExtensions has an extension mehtod for object with which you can cast with a better syntax.