Fixed constructor for PhaseProblem so that it correctly
instantiates the MaterialDatabase.