LDmatrix done