Wrapped entire cuda tools in namespace and removed unnecessary return statements in void functions