Tensors

Piezoelectric tensors now have the correct dependencies and errors have been resolved and the documenation expanded. This is ready for a merge to origin/master.