Added nudging functionality to the Neural Network.