Automatic matrix determination in four dye fluorescence-based DNA sequencing