HurdleStepsData addSessionData(HurdleStepsData inVariableData, HurdleStepsData newVariableData)
        {
            inVariableData.SetDistanceBetweenHurdleSteps += newVariableData.SetDistanceBetweenHurdleSteps;
            inVariableData.SetDistanceIntoHurdleSteps    += newVariableData.SetDistanceIntoHurdleSteps;
            inVariableData.SetDistanceOffHurdleSteps     += newVariableData.SetDistanceOffHurdleSteps;
            //Step1
            inVariableData.Step1GroundTime                += newVariableData.Step1GroundTime;
            inVariableData.Step1AirTime                   += newVariableData.Step1AirTime;
            inVariableData.Step1StrideLength              += newVariableData.Step1StrideLength;
            inVariableData.Step1TouchdownDistance         += newVariableData.Step1TouchdownDistance;
            inVariableData.Step1KneeSeperationatTouchdown += newVariableData.Step1KneeSeperationatTouchdown;
            inVariableData.Step1TrunkTouchdownAngle       += newVariableData.Step1TrunkTouchdownAngle;
            inVariableData.Step1TrunkTakeoffAngle         += newVariableData.Step1TrunkTakeoffAngle;


            inVariableData.Step1ULAtFullExtension += newVariableData.Step1ULAtFullExtension;
            inVariableData.Step1LLAtTakeoff       += newVariableData.Step1LLAtTakeoff;
            inVariableData.Step1ULAtFullFlexion   += newVariableData.Step1ULAtFullFlexion;
            //Step2
            inVariableData.Step2GroundTime                += newVariableData.Step2GroundTime;
            inVariableData.Step2AirTime                   += newVariableData.Step2AirTime;
            inVariableData.Step2StrideLength              += newVariableData.Step2StrideLength;
            inVariableData.Step2TouchdownDistance         += newVariableData.Step2TouchdownDistance;
            inVariableData.Step2KneeSeperationatTouchdown += newVariableData.Step2KneeSeperationatTouchdown;
            inVariableData.Step2TrunkTouchdownAngle       += newVariableData.Step2TrunkTouchdownAngle;
            inVariableData.Step2TrunkTakeoffAngle         += newVariableData.Step2TrunkTakeoffAngle;

            inVariableData.Step2ULAtFullExtension += newVariableData.Step2ULAtFullExtension;
            inVariableData.Step2LLAtTakeoff       += newVariableData.Step2LLAtTakeoff;
            inVariableData.Step2LLAtFullFlexion   += newVariableData.Step2LLAtFullFlexion;
            inVariableData.Step2ULAtFullFlexion   += newVariableData.Step2ULAtFullFlexion;


            //Step3
            inVariableData.Step3GroundTime                += newVariableData.Step3GroundTime;
            inVariableData.Step3AirTime                   += newVariableData.Step3AirTime;
            inVariableData.Step3StrideLength              += newVariableData.Step3StrideLength;
            inVariableData.Step3TouchdownDistance         += newVariableData.Step3TouchdownDistance;
            inVariableData.Step3KneeSeperationatTouchdown += newVariableData.Step3KneeSeperationatTouchdown;
            inVariableData.Step3TrunkTouchdownAngle       += newVariableData.Step3TrunkTouchdownAngle;
            inVariableData.Step3TrunkTakeoffAngle         += newVariableData.Step3TrunkTakeoffAngle;

            inVariableData.Step3ULAtFullExtension += newVariableData.Step3ULAtFullExtension;
            inVariableData.Step3LLAtTakeoff       += newVariableData.Step3LLAtTakeoff;
            inVariableData.Step3LLAtFullFlexion   += newVariableData.Step3LLAtFullFlexion;
            inVariableData.Step3ULAtFullFlexion   += newVariableData.Step3ULAtFullFlexion;

            //intoHurdleSteps
            inVariableData.SetTouchdownDistanceIntoTheHurdle         += newVariableData.SetTouchdownDistanceIntoTheHurdle;
            inVariableData.SetKneeSeperationatTouchdownIntoTheHurdle += newVariableData.SetKneeSeperationatTouchdownIntoTheHurdle;
            inVariableData.SetTrunkTouchdownAngleIntoTheHurdle       += newVariableData.SetTrunkTouchdownAngleIntoTheHurdle;
            inVariableData.SetLLAtTouchdownIntoTheHurdle             += newVariableData.SetLLAtTouchdownIntoTheHurdle;



            return(inVariableData);
        }
 void avgVariableDataValues(int athleteSelected)
 {
     foreach (HurdleStepsPageSessionData sessionData in _sessionDataList)
     {
         _initialSummary = addSessionData(_initialSummary, sessionData.HurdleStepsInitialData);
         _finalSummary   = addSessionData(_finalSummary, sessionData.HurdleStepsFinalData);
         _modelSummary   = addSessionData(_modelSummary, sessionData.HurdleStepsModelData);
     }
     _initialSummary = avgVairableData(_initialSummary, _initialCount);
     _finalSummary   = avgVairableData(_finalSummary, _finalCount);
     _modelSummary   = avgVairableData(_modelSummary, _modelCount);
 }
        string anyVairableDataZero(HurdleStepsData inVarirableData, int totalCount, string _type)
        {
            MissingVariable misv = new MissingVariable();
            string          listOfVariableWithZero = "";

            if (totalCount > 1)
            {
                if (inVarirableData.SetDistanceBetweenHurdleSteps == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetDistanceBetweenHurdleSteps  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.SetDistanceIntoHurdleSteps == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetDistanceIntoHurdleSteps  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.SetDistanceOffHurdleSteps == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetDistanceOffHurdleSteps  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                //if (inVarirableData.Velocity == 0)
                //{
                //    listOfVariableWithZero = "Velocity  ";
                //    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                //}
                if (inVarirableData.Step1GroundTime == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1GroundTime  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1AirTime == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1AirTime  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                //if (inVarirableData.Step1StrideRate == 0)
                //{
                //    listOfVariableWithZero = "Step1StrideRate  ";
                //    sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                //}
                if (inVarirableData.Step1StrideLength == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1StrideLength  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1TouchdownDistance == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1TouchdownDistance  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1KneeSeperationatTouchdown == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1KneeSeperationatTouchdown  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1TrunkTouchdownAngle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1TrunkTouchdownAngle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1TrunkTakeoffAngle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1TrunkTakeoffAngle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1ULAtFullExtension == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1ULAtFullExtension  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1LLAtTakeoff == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1LLAtTakeoff  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step1ULAtFullFlexion == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step1ULAtFullFlexion  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2GroundTime == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2GroundTime  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2AirTime == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2AirTime  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                //if (inVarirableData.Step2StrideRate == 0)
                //{
                //    listOfVariableWithZero = "Step2StrideRate  ";
                //    sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                //}
                if (inVarirableData.Step2StrideLength == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2StrideLength  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2TouchdownDistance == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2TouchdownDistance  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2KneeSeperationatTouchdown == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2KneeSeperationatTouchdown  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2TrunkTouchdownAngle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2TrunkTouchdownAngle  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2TrunkTakeoffAngle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2TrunkTakeoffAngle  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2ULAtFullExtension == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2ULAtFullExtension  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2LLAtTakeoff == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2LLAtTakeoff  ";
                    //  sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step2LLAtFullFlexion == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2LLAtFullFlexion  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                //if (inVarirableData.Step2LLAtatAnkleCross == 0)
                //{
                //    listOfVariableWithZero = "Step2LLAtatAnkleCross  ";
                //    sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                //}
                if (inVarirableData.Step2ULAtFullFlexion == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step2ULAtFullFlexion  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3GroundTime == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3GroundTime  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3AirTime == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3AirTime  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                //if (inVarirableData.Step3StrideRate == 0)
                //{
                //    listOfVariableWithZero = "Step3StrideRate  ";
                //    sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                //}
                if (inVarirableData.Step3StrideLength == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3StrideLength  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3TouchdownDistance == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3TouchdownDistance  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3KneeSeperationatTouchdown == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3KneeSeperationatTouchdown  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3TrunkTouchdownAngle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3TrunkTouchdownAngle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3TrunkTakeoffAngle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3TrunkTakeoffAngle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3ULAtFullExtension == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3ULAtFullExtension  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3LLAtTakeoff == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3LLAtTakeoff  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.Step3LLAtFullFlexion == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3LLAtFullFlexion  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                //if (inVarirableData.Step3LLAtatAnkleCross == 0)
                //{
                //    listOfVariableWithZero = "LLFullFlexionAngleRight ";
                //    sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                //}
                if (inVarirableData.Step3ULAtFullFlexion == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "Step3ULAtFullFlexion  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.SetTouchdownDistanceIntoTheHurdle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetTouchdownDistanceIntoTheHurdle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.SetKneeSeperationatTouchdownIntoTheHurdle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetKneeSeperationatTouchdownIntoTheHurdle  ";
                    //sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.SetTrunkTouchdownAngleIntoTheHurdle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetTrunkTouchdownAngleIntoTheHurdle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
                if (inVarirableData.SetLLAtTouchdownIntoTheHurdle == 0)
                {
                    misv.type = _type;
                    missingVariable.Add(misv);
                    listOfVariableWithZero = "SetLLAtTouchdownIntoTheHurdle  ";
                    // sendNotFoundEmail("This varibale has 0 value ...!" + listOfVariableWithZero, listOfVariableWithZero);
                }
            }
            return(listOfVariableWithZero);
        }
        HurdleStepsData avgVairableData(HurdleStepsData inVariableData, int totalCount)
        {
            if (totalCount > 1)
            {
                inVariableData.SetDistanceBetweenHurdleSteps = roundDecimal(inVariableData.SetDistanceBetweenHurdleSteps / totalCount);
                inVariableData.SetDistanceIntoHurdleSteps    = roundDecimal(inVariableData.SetDistanceIntoHurdleSteps / totalCount);
                inVariableData.SetDistanceOffHurdleSteps     = roundDecimal(inVariableData.SetDistanceOffHurdleSteps / totalCount);
                //Step1
                inVariableData.Step1GroundTime                = roundDecimal(inVariableData.Step1GroundTime / totalCount);
                inVariableData.Step1AirTime                   = roundDecimal(inVariableData.Step1AirTime / totalCount);
                inVariableData.Step1StrideLength              = roundDecimal(inVariableData.Step1StrideLength / totalCount);
                inVariableData.Step1TouchdownDistance         = roundDecimal(inVariableData.Step1TouchdownDistance / totalCount);
                inVariableData.Step1KneeSeperationatTouchdown = roundDecimal(inVariableData.Step1KneeSeperationatTouchdown / totalCount);
                inVariableData.Step1TrunkTouchdownAngle       = roundInteger((decimal)inVariableData.Step1TrunkTouchdownAngle / totalCount);
                inVariableData.Step1TrunkTakeoffAngle         = roundInteger((decimal)inVariableData.Step1TrunkTakeoffAngle / totalCount);


                inVariableData.Step1ULAtFullExtension = roundInteger((decimal)inVariableData.Step1ULAtFullExtension / totalCount);
                inVariableData.Step1LLAtTakeoff       = roundInteger((decimal)inVariableData.Step1LLAtTakeoff / totalCount);
                inVariableData.Step1ULAtFullFlexion   = roundInteger((decimal)inVariableData.Step1ULAtFullFlexion / totalCount);
                //Step2
                inVariableData.Step2GroundTime                = roundDecimal(inVariableData.Step2GroundTime / totalCount);
                inVariableData.Step2AirTime                   = roundDecimal(inVariableData.Step2AirTime / totalCount);
                inVariableData.Step2StrideLength              = roundDecimal(inVariableData.Step2StrideLength / totalCount);
                inVariableData.Step2TouchdownDistance         = roundDecimal(inVariableData.Step2TouchdownDistance / totalCount);
                inVariableData.Step2KneeSeperationatTouchdown = roundDecimal(inVariableData.Step2KneeSeperationatTouchdown / totalCount);
                inVariableData.Step2TrunkTouchdownAngle       = roundInteger((decimal)inVariableData.Step2TrunkTouchdownAngle / totalCount);
                inVariableData.Step2TrunkTakeoffAngle         = roundInteger((decimal)inVariableData.Step2TrunkTakeoffAngle / totalCount);

                inVariableData.Step2ULAtFullExtension = roundInteger((decimal)inVariableData.Step2ULAtFullExtension / totalCount);
                inVariableData.Step2LLAtTakeoff       = roundInteger((decimal)inVariableData.Step2LLAtTakeoff / totalCount);
                inVariableData.Step2LLAtFullFlexion   = roundInteger((decimal)inVariableData.Step2LLAtFullFlexion / totalCount);
                inVariableData.Step2ULAtFullFlexion   = roundInteger((decimal)inVariableData.Step2ULAtFullFlexion / totalCount);


                //Step3
                inVariableData.Step3GroundTime                = roundDecimal(inVariableData.Step3GroundTime / totalCount);
                inVariableData.Step3AirTime                   = roundDecimal(inVariableData.Step3AirTime / totalCount);
                inVariableData.Step3StrideLength              = roundDecimal(inVariableData.Step3StrideLength / totalCount);
                inVariableData.Step3TouchdownDistance         = roundDecimal(inVariableData.Step3TouchdownDistance / totalCount);
                inVariableData.Step3KneeSeperationatTouchdown = roundDecimal(inVariableData.Step3KneeSeperationatTouchdown / totalCount);
                inVariableData.Step3TrunkTouchdownAngle       = roundInteger((decimal)inVariableData.Step3TrunkTouchdownAngle / totalCount);
                inVariableData.Step3TrunkTakeoffAngle         = roundInteger((decimal)inVariableData.Step3TrunkTakeoffAngle / totalCount);

                inVariableData.Step3ULAtFullExtension = roundInteger((decimal)inVariableData.Step3ULAtFullExtension / totalCount);
                inVariableData.Step3LLAtTakeoff       = roundInteger((decimal)inVariableData.Step3LLAtTakeoff / totalCount);
                inVariableData.Step3LLAtFullFlexion   = roundInteger((decimal)inVariableData.Step3LLAtFullFlexion / totalCount);
                inVariableData.Step3ULAtFullFlexion   = roundInteger((decimal)inVariableData.Step3ULAtFullFlexion / totalCount);

                //intoHurdleSteps
                inVariableData.SetTouchdownDistanceIntoTheHurdle         = roundDecimal(inVariableData.SetTouchdownDistanceIntoTheHurdle / totalCount);
                inVariableData.SetKneeSeperationatTouchdownIntoTheHurdle = roundDecimal(inVariableData.SetKneeSeperationatTouchdownIntoTheHurdle / totalCount);
                inVariableData.SetTrunkTouchdownAngleIntoTheHurdle       = roundInteger((decimal)inVariableData.SetTrunkTouchdownAngleIntoTheHurdle / totalCount);
                inVariableData.SetLLAtTouchdownIntoTheHurdle             = roundInteger((decimal)inVariableData.SetLLAtTouchdownIntoTheHurdle / totalCount);
            }
            else
            {
                inVariableData.SetDistanceBetweenHurdleSteps = 0;
                return(inVariableData);
            }
            return(inVariableData);
        }