Density estimation using Real NVP