diff --git a/MeshLib/Elements/CellRule.cpp b/MeshLib/Elements/CellRule.cpp
index 3e5fe16fb9d5f70d06360e4f4112ec8e413fbef4..2ec6f945acbb25aeb2f0ca1b8b46e89037701868 100644
--- a/MeshLib/Elements/CellRule.cpp
+++ b/MeshLib/Elements/CellRule.cpp
@@ -10,7 +10,6 @@
 
 #include "CellRule.h"
 
-#include "MathLib/Vector3.h"
 #include "MeshLib/Node.h"
 #include "Element.h"
 #include "FaceRule.h"
@@ -19,12 +18,12 @@ namespace MeshLib {
 
 bool CellRule::testElementNodeOrder(const Element* e)
 {
-    const MathLib::Vector3 c(getCenterOfGravity(*e));
-    Eigen::Vector3d const cc = Eigen::Map<Eigen::Vector3d const>(c.getCoords());
-    const unsigned nFaces (e->getNumberOfFaces());
-    for (unsigned j=0; j<nFaces; ++j)
+    Eigen::Vector3d const cc =
+        Eigen::Map<Eigen::Vector3d const>(getCenterOfGravity(*e).getCoords());
+    const unsigned nFaces(e->getNumberOfFaces());
+    for (unsigned j = 0; j < nFaces; ++j)
     {
-        MeshLib::Element const*const face (e->getFace(j));
+        MeshLib::Element const* const face(e->getFace(j));
         // Node 1 is checked below because that way all nodes are used for the test
         // at some point, while for node 0 at least one node in every element
         // type would be used for checking twice and one wouldn't be checked at