more work on ldsc.py