Added a batch-selfcal module to kal.py