Intracellular magnesium and magnesium buffering