<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _forwardImplementation(self, inbuf, outbuf):
 """ Proportional probability method. """

        assert self.module

        propensities = self.module.getActionValues(0)

        summedProps = sum(propensities)
        probabilities = propensities / summedProps

        action = eventGenerator(probabilities)
#        action = drawIndex(probabilities)

        outbuf[:] = scipy.array([action])