calc_mu function

Calculate the mu vector from a fitted BN or DBN