dist, ang, diheds in geom.py