neural net compiles. fixed up syntax errors