Update joint_hist.m

entropy needs a double or unsigned integers, fixed for that