Pylint [id=70963]

Fixed issues displayed with Pylint in validmatrix module.