Small compiler fixes.
-Fixed hardcoded kernel name
-Fixed calling scalar (instead of vector) kernel