Added hidden neurons validator