Probability calculator for the galaxy