THEMA 4 added beam flux models

added functions for computing beam flux dependig on BEAM_TYPE