[Olena-patches] olena-2.0-36-gdd1d663 Add: new mean gradient error metric. Some metric refactoring.