Add fix_ramps.py, an attempt to remove spikes