Title: Atomistic Model to Calculate the Core Structure and Energy of Dislocations in Ionic Crystals