Update tensor.md

rewrote the intro/tutorial.