Fixed variable names, syntax for calling kernel, and missing dot operator for block dimensions