matrix wise anomaly