I suppose I could split out this chunk into another function since it's shared:

```
if (isFinite(velocity) && (Math.abs(distance) >= params[MIN_DISTANCE]) &&
(Math.abs(velocity)  >= params[MIN_VELOCITY])) {
  return true;
}
else {
  return false;
}

```