Calculate the effective spring constant C6 and BSM values for oxygen in mixed-metal oxides and plot potentials