debugged and tested predictions and validations

- now proper data.frames are generated.