Do you use faclist anywhere else? It may be clearer to just put `[hinv, h]` here.