Added parameter priors and scale factor priors.
Made some variables private