Create controltime.py

Seems like it might be a little faulty, but it is in ok agreement with the monte carlo.