Improved documentation for neural network
Merge pull request #2107 from nghiaho12:nn_doc