Source: https://www.maths.gla.ac.uk/~rs/MathBio/jcompphys.pdf