simplify constructors in neuralClasses.h