A Nystr\"om method with missing distances