Renamed weight -> stride
Added Tensor::extent() and Tensor::extent(d) methods.
Revert "Renamed weight -> stride"

This reverts commit b35a5d6742574ba8879bc65ddd76d06d1b1feda2.
Minor cleanup.
Merge pull request #11 from evaleev/master

sync with BTAS/BTAS