Use 1/t_rc instead of t_rc to save a fixed-point divide.
Removed a mod operation and replaced with another counter.
Factored out a shift on t_ref.
Merge pull request #3 from ctn-waterloo/optimisations

Optimisations to neuron update loop