Anomaly Detection with Tensor Networks