Allowing optional parameters to connections.
Implemented batch training. Closes #49.
Implemented RPROP. Closes #13.