a version with only trajectory length and number of visits outside home
subpref -- we skipped radius of gyration until i learn how to calc it