Refacted atom.c to atom.coord