Adding DeviceMartix slicing, pipelining mods and new histogram kernel