added hepler function for setting multiple kernel arguments at once