Modeling Synchronization in Neural Networks