calculates when to start decelerating based on max speed achieved
adds function to calculate if platform reached target