A framework supporting multi-compartment stochastic simulation and parameter optimisation for investigating biological system development