Fixing inverse 
Fixing inverse 

Changing inverse of covariance matrix to pseudo inverse to increase numerical stability. Also robust when errors are zero.
kbarbary/sncosmo,kbarbary/sncosmo,kbarbary/sncosmo,dannygoldstein/sncosmo,sncosmo/sncosmo,sncosmo/sncosmo,dannygoldstein/sncosmo,sncosmo/sncosmo,dannygoldstein/sncosmo