changing matrix size of the score layer