improving and adding comments in genero_matriz.js class