cross entropy method spike