Add a bunch of hooks used to get different types of residuals or compute scores. Also added functionality to draw customized biplots