A convenience function for setting the parameters of the distribution.
Should be used to change the parameters of the distribution