<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def normalize(self, inplace=True):
 """ Normalizes the pdf of the continuous factor so that it integrates to 1 over all the variables. Parameters inplace: boolean If inplace=True it will modify the factor itself, else would return a new factor. Returns ------- ContinuousFactor or None: if inplace=True (default) returns None if inplace=False returns a new ContinuousFactor instance. Examples -------- 0.117099663049 0.0585498315243 """

        phi = self if inplace else self.copy()
        phi.distriution = phi.distribution.normalize(inplace=False)

        if not inplace:
            return phi