predict.bernstein function

Evaluate Bernstein approximations on data.