MAGMA: Inference and Prediction with Multi-Task Gaussian Processes