Added a callback function to compute_trust. Atm it will send the return value to the callback function AND return the value. Guessing we'll never need both.