Anomaly Detection using Generative Models and Sum-Product Networks in Mammography Scans