long_format function

Long format of prediction data.frame