A Generic Model for a Chaotic Neural Network