Fixed some affordance bugs, added new constructor to AFF-RTDP