Fixed 3D example and removed EMMetric dependency