Determination of SB2 masses and age: introduction of the mass ratio in the Bayesian analysis