added auxiliar function for retrieving the similarityMatrix in a concrete level.