fix griddata bug
move factory functions to builtin namespace