Update continuous.py

Correct the definition of the mode for the gamma function