Manufacture or treatment of devices or systems in or on a substrate {for improving the physical properties of a device}