Refactored atom.c to atom.coord