private async void InitData()
        {
            await Task.Delay(1);

            Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;
            Thread.CurrentThread.CurrentCulture   = CultureInfo.InvariantCulture;

            MatrixService.UpdateSystem();

            problemService.SolveProblem(MatrixService.GlobalStiffnessMatrix, MatrixService.GlobalForceVector);

            dataGrid1.ItemsSource = problemService.Values;
            await WriteDataInFile();

            await RunPlot();

            var sb = new StringBuilder();

            if (problemService.MatrixA.ColumnCount <= 10)
            {
                sb.AppendLine("Problem matrix:");
                sb.AppendLine(problemService.MatrixA.ToString());
            }
            if (problemService.VectorF.Count <= 10)
            {
                sb.AppendLine("Problem vector:");
                sb.AppendLine(problemService.VectorF.ToString());
            }
            sb.AppendLine();
            sb.AppendLine("L2:");
            sb.AppendLine($"Absolute error: {problemService.AbsoluteErrorL2}");
            sb.AppendLine($"Real error: {problemService.RealErrorL2:0.00}%");
            sb.AppendLine($"W2:");
            sb.AppendLine($"Absolute error: {problemService.AbsoluteErrorW2}");
            sb.AppendLine($"Real error: {problemService.RealErrorW2:0.00}%");

            Data.Text = sb.ToString();
        }