Changed behavior structure, limit behavior outputs

Behavior function now taken as argument to environment initialization

Outputs of behavior function limited to the range 0-1 in agent