A Bayesian Approach To Prediction And Variable Selection Using Nonstationary Gaussian Processes