Fixed constructor of NNLayer
Merge pull request #13 from gasagna/master

Fixed constructor of NNLayer