Using curvature invariants for wave extraction in numerical relativity