Reduced dragging update data from float to int
Refactored edit points feature and added slope calculation + indictator