/// <summary>
        /// When the RIGHT Self-Dimer button is pressed, the test is called and the display
        /// is updated accordingly. 
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void SelfDimerRightButton_Click(object sender, RoutedEventArgs e)
        {
            alignmentTests at = new alignmentTests(_rightPrimer);
            double worstCase = at.selfDimerRun();
            if (worstCase < _rightGibbsFree)
            {
                rightSelfDimerResult.Content = "x";
            }
            else
                rightSelfDimerResult.Content = "a";

        }
        /// <summary>
        /// When the LEFT Heterodimer button is pressed, the test is called and the display
        /// is updated accordingly. 
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void HeteroDimerLeftButton_Click(object sender, RoutedEventArgs e)
        {

            alignmentTests at = new alignmentTests(_leftPrimer);
            double worstCase = at.heteroDimerRun(_rightPrimer);
            //Console.WriteLine(worstCase);
            if (worstCase < _rightGibbsFree)
            {
                leftHeteroDimerResult.Content = "x";
            }
            else
            {
                leftHeteroDimerResult.Content = "a";

            }
        }
 /// <summary>
 /// When the RIGHT hairpin button is pressed, the hairpin test is called and the display
 /// is updated accordingly. 
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void HairpinRightButton_Click(object sender, RoutedEventArgs e)
 {
     alignmentTests at = new alignmentTests(_leftPrimer);
     double worstCase=at.hairpinRun();
     if (worstCase < _leftGibbsFree)
     {
         rightHairpinResult.Content = "x";
     }
     else
         rightHairpinResult.Content = "a";
 }