grain_predict function

Make predictions from Bayesian network