Changed fuzzy controller to incorporate behavior states