Added Negation Logical Expression. Changed RTDP numDelta parameter. Small tweaks to affordnce code