Removed duplicate functions from device.hpp
Merge pull request #31 from shanagr/rm_dup

Removed duplicate functions from device.hpp