Blackbox Kriging code