Normalize log-probability.
normalise_logprob(x)
x
A variable vector.
val
A normalize log probability of variable vector.