Simulation of magnesium hydroxide surface and interface