added initial guess optimisation MAP