a very preliminary very untested version of batch bivariate model and bill's matlab generator