Computes the mass weights to set a uniform prior on linear mass
masses
weights to provide a constant SFR in linear age
compute_mass_grid_weights()