Large Deviation Theory in Stochastic Processes: Applications to Biological Modeling