Making K=5 bars display in red.
Adding Savitzky-Golay filtering.