ENH: Better depth weighting, diag cov support, inverse testing

From #343.