fixed matrix equals