Modified random electric delay

Random electric delay has been modified to electric delay based upon
probability distribution as documented.
**
the existing method 'int generateByProbability(int pulseNumber)' has
been changed to 'int generatePulseByProbability(int pulseNumber)'
**