Merged my mistake from classifier onto this file

added get_pre_post places and transitions