AVALANCHE: Trip: modify trptype::init(), minor modifications in other functions parameter lists.