Update nn.cc
Merge pull request #4 from yaolubrain/patch-3

Update nn.cc