Removed test script and added tutorial 0 rewrite. Various tweaks to tensors.