evidence_calculation: created the get_evidence function in order to calculate the ELBO for a given metric.