Added reduce and reduce_by_key performance + minor fixes for device_vect...

...or