Added operator== for Tensor that should work for Tensor and TensorView. Resolves #51