Rand etimeout

Fix #1235
@unihorn Oh. Of course. rand is expected generate a `uniform distribution`. `isElectionTimeout` is expected to generate a probability based on rand and elapse... That is why it works correctly...