Native rcl::tensor type

Short feedback, I don’t know if making this part of rcl is a good idea, as rcl is C. Perhaps putting this in a new package rcl_tensor that uses C++ internally, but provides a C API makes more sense.