Add new neural net method with test.