Matrix: null-check Equals value

Matrix needs a null-check if compared with null