getting slopes

Add addison’s code for getting regression slopes