add elements array;atoms have aid (atomic number)
add bondlength, bondlengthsquared functions