@classmethod
def from_dict(cls, dict_in):
    """Creates a GaussianPdf from a dictionary

        Args:
            dict_in (dict): The dict to create the PDF from. Must contain keys for 'mean' and 'variance'

        Returns:
            GaussianPdf: The constructed Gaussian PDF
        """
    return cls(dict_in['mean'], dict_in['variance'])
