Added parameter controls, still have to add priors calcs to objective function.