Rewrite gather using meta_kernel

Rewrote ```gather``` using ```meta_kernel```. Will do ```scatter``` as well..