A general formula for channel capacity | Synapse