Supplementary material (code) for Chapter 2 in 'EMI: Cell based mathematical model of excitable cells' - Ada Johanne Ellingsrud (2020)