pred_grid function

Generates a 2D Prediction Grid