Numerical implementation, 6n diagonal elements