add flatten functionality to predictions() and predictionsMulti()

now throws basic errors, too