Computes the metallicity weights to set a uniform prior on linear metallicity
metallicities
weights to provide a flat metallicity
compute_metallicity_grid_weights()