fixed null pointer for PARIND, changed trig(), add boolean to indicated group race started