Creating simulated sensor data using Python