intial commit of fourpredictionscode

to get usable data out of the simulations, I have four/five main
predictions. This is the initial commit of code to get them. It needs a
lot of tidying etc, but the main functions are now in place.