code: def remove_liers(points):
      
      result = [points[0]]
      for i in range(1, len(points) - 2):
          prv = points[i-1]
          crr = points[i]
          nxt = points[i+1]
          if prv.time <= crr.time and crr.time <= nxt.time:
              result.append(crr)
      result.append(points[-1])
  
      return result
docs: Removes obvious noise points
  
      Checks time consistency, removing points that appear out of order
  
      Args:
          points (:obj:`list` of :obj:`Point`)
      Returns:
          :obj:`list` of :obj:`Point`