it looks like the issue is that all probabilities within f_prob are zero... check this out