added multiple kernel arg convenience function

Puts multiple kernel set arg calls into one wrapper call.
Also detects variable size automatically.