Tool for optimizing gradient selection in mass spec runs