solve StyleCop warnings

solve StyleCop warnings  and rename proverka2 to IsMatrixOrdered