Added restrictions to subdomains to DiffMapping and ScalarFields; added functionalities in TensorField handling