Algorithm needed to manage deceleration

Special request to the devs!!!

I have linked a previous blog on diydrones

The discussion was to implement how the copter deccelerates while reaching towards waypoint.

My question is what is the parameter in MP which slows down copter when reaching towards waypoint.
Right now my heavy lift copter stops at waypoint very awkwardly.