Matlab Implementation of the Local Collective Embeddings model