nn function

Create a Neural Network Layer