slope calculating - need insert into slopedata table