stack_predict function

Convert one or more linear predictor to a format used for prediction