Add rslope in c by Chris Marone