Better gpu memory management for nnet class
Merge branch 'dev_nn' of github.com:IndicoDataSolutions/Foxhound into dev_nn