updated nn, cutorch, cunn