Accurate methods for the statistics of surprise and coincidence | Synapse