An analysis of quark mass matrices and B-B mixing