Changed results_tensors to nested pointer