updated code and writeups for continuous vs discrete time models