Corrects several bug in the treatment of initial parameters, in the time references and in libraries that were not imported. Works with first version of test_bt.py if toa.py is patched to include SSB TOAs