public MatrixTest RunSingleTest(int matrixSize, int iterations)
            {
                MatrixTest testResult = new MatrixTest ();

                testResult.Iterations = 1;
                testResult.MatrixSize = matrixSize;

                double [] A = new double [matrixSize*matrixSize];
                double [] B = new double [matrixSize*matrixSize];
                double [] C = new double [matrixSize*matrixSize];

                int matrixSizeSquared = matrixSize * matrixSize;
                Random rand = new Random ();

                for (int i=0; i<matrixSizeSquared; i++)
                {
                    A[i] = rand.NextDouble ();
                    B[i] = rand.NextDouble ();
                }

                DateTime start = DateTime.Now;

                for (int i=0; i<iterations; i++)
                    csMatrixMult (matrixSize, A, B, C);

                DateTime end = DateTime.Now;

                testResult.Seconds = end.Subtract (start).TotalSeconds;

                return testResult;
            }
            public MatrixTest RunSingleTest(int matrixSize, int iterations)
            {
                MatrixMultInfo info = new MatrixMultInfo ();
                info.matrixSize = matrixSize;
                info.numberIterations = iterations;
                info.useblas = _useblas;

                RunMatrixTest (ref info);

                MatrixTest ret = new MatrixTest ();
                ret.Iterations = info.numberIterations;
                ret.MatrixSize = info.matrixSize;
                ret.Seconds = info.matrixMultiplyTime;

                return ret;
            }