Added ggvis dependency
Changed Matrix to capture residuals deviances