Add "--takelast" option, so only last N datapoint are averaged.