https://oliver-k-ernst.medium.com/estimating-constrained-precision-matrices-with-tensorflow-28d4967ea48f