Replace the update cold with the old version - now fixed
Added the momentum, nesterovMomentum and rmsprop parameters to the CNN