completely new version of kriging.js