Seems the first constant is wrong
>>> 1/(2 * (1 - math.exp(-2)))
0.5782588213748329
Instead it should be
>>> 1/2 * (1 - math.exp(-2))
0.43233235838169365
Which handily appears in OEIS (a great resource for random constants and sequences) as http://oeis.org/A247847