V-matrices over a topos