Given a stream of sensor data, write a function to find the moving average over a sliding window of size N.