public static double StandardDeviation(float[] num)
	{
		double Sum = 0.0, SumOfSqrs = 0.0;
		for (int i = 0; i < num.length; i++)
		{
			Sum += num[i];
			SumOfSqrs += Math.pow(num[i], 2);
		}
		double topSum = (num.length * SumOfSqrs) - (Math.pow(Sum, 2));
		double n = (double)num.length;
		return Math.sqrt(topSum / (n * (n - 1)));
	}