adding math test for trace_inv_quad_form_ldlt
added tests for trace_inv_quad_form_ldlt for gradients checking against auto-diff implementation