error estimate extended  to the triclinic (and non-cubic) case for adi. original version still inside. ik probably broken.