Implemented Objective Function

Can now get summed error on entire dataset using the current state of
the network. Also added some necessary functions to the ARFF wrapper to
be used to achieve this.