added linear neuron with online training