Prevents nan values at RBF Prediction