Simulation of fatty acid adsorption at the magnesia surface