Update toa.py

Avoids raising ValueError if the observatory is Barycenter; corrects syntax error (using `is` instead of `==` for string comparison)