Initialise attributes in measurement class