/// <summary>
        /// A static method that returns random values distributed normally
        /// </summary>
        /// <param name="n">A number of values.</param>
        /// <param name="mean">An arithmetic mean.</param>
        /// <param name="sd">A standard deviation</param>
        /// <returns>An array of values distributed normally.</returns>
        public static object GetRandomNormalDistribution(int n, object mean, object sd)
        {
            if (mean is double)
            {
                double[] testArray = new double[2];
                CalculationNormalDistributionBase calculation = new NormalDistributionDouble(testArray);
                return(calculation.GetRandomNormalDistribution(n, mean, sd));
            }

            if (mean is float)
            {
                float[] testArray = new float[2];
                CalculationNormalDistributionBase calculation = new NormalDistributionFloat(testArray);
                return(calculation.GetRandomNormalDistribution(n, mean, sd));
            }

            if (mean is decimal)
            {
                decimal[] testArray = new decimal[2];
                CalculationNormalDistributionBase calculation = new NormalDistributionDecimal(testArray);
                return(calculation.GetRandomNormalDistribution(n, mean, sd));
            }

            throw new Exception(TYPE_NOT_SUPPORTED_ERROR_MESSAGE_NOINT);
        }
        public static object GetConfidenceInterval(double cl, double s, int n)
        {
            double[] testArray = new double[2];
            CalculationNormalDistributionBase calculation = new NormalDistributionDouble(testArray);

            return(calculation.GetConfidenceInterval(cl, s, n));
        }