Fixed structure init() function. Atoms are created in order with valid properties.
Updated usage of enum in Simulation.cpp.
Updated usage of enum in Atom.cpp