materialize_internal function

Materialize a Lazy Tensor