dot-compute_uncertainty function

Internal helper: compute uncertainty decomposition (epistemic / aleatoric / both)