slope_xyz function

Extract slopes from xyz data frame or sf objects