Updated a bug in model_fit which causes multiple point source models to be fit incorrectly.