Added slopes to LineObject

contributions automatically update in pending pull requests