Anisotropic finite element mesh adaptation via higher dimensional embedding