More bug fixes: testing changes wit plot_lightcurve will run, but with "invalid value encountered in multiply" warning coming from somewhere between lines 250 and 260 of bayes.py