Fixed ordereddict import and read CONTCAR errors