Cofnod E-bost: Principled approach to the selection of the embedding dimension of networks