Modelling operational losses with graphical models and copula functions.