MA Thesis: Robust unsupervised anomaly detection for medical imaging