Add getProblemDimension method to ExternalRuntimeProblem so that problem dimension is not overridden from inherited method.