rm_by_trajnum function

Remove subjects by trajectory number