Fix missing key error for flagged data
The cost function would try to index data that was none
existent because of the crappy handling of the reference
antenna list. It now avoids things for which there's no
dictionary entry.
Also, run black on the code.
Support for correlation products
Uses both correlation products when deriving solutions.
Each has its own clock term. It also removes antennas
that had all their solutions flagged.