*** chop off until R^2

1. from end
2. least confi
3. furthest


--> 3

    this.chopPtsToLine = function(r2threshold, minleft, method) {
does not work (calculates regression on all points, not the chopped off array)



*** also

calcCoeffDetPoly is unnecessary


*** consolid

- for orders 1..5
  - take v1 of track1 as reference velocity (refv0)
  - initialise (empty) the consolidated dataset
  - for every track
    - poly regress
    - if too noisy by R2 -- skip
    - find time to which refv0 corresponds = toffset
    - transpose all track's data points to consolidated dataset, shifting time by toffset
  - poly regress on consolidated dataset
  - set vend -- final velocity (time?) for 50/50% of tracks
  - calc bc on consolidated poly


  - set consolid v0 at t = 10%, 20% down the track

  
  
*** no tails

5% - 85% = best?

try other tails
try: bc stev = ? for o = 1..6

reject odd tracks on linear R2 (bigger orders may overfit)