beta3 - better but still to consider how to hadnle 0 value.

Fixed tank 2 - wrong beta fcn was taken.