An alternative to Gower’s inverse matrix