Calculating transition times for electrons in Rydberg atoms