Create sensor.m