add sdf and element support
correct pointer math in copying and joining atomgrps