Add tabulate/tabulate_2d functions.
Add tabulate/tabulate_2d functions.

diku-dk/futhark,diku-dk/futhark,HIPERFIT/futhark,diku-dk/futhark,HIPERFIT/futhark,HIPERFIT/futhark,diku-dk/futhark,diku-dk/futhark