Added __call__ operator for tensors + more doctests