implemented calculation of backbone distances and 3-body angles