added functions for exploration of parameters, an objective function for optimisation using R's optim and an mcmc for bayesian parameter estimation