Added some test data, and a function to calculate the linear predictor.