adaptations for new invAot and aaNN nets from 20130325