neural net now compiles