Using an optical micrometer for mechanical thermostat membrane expansion measurements