Added queue to integral term calculation to only keep 100 past errors at a time.