Numerical Modelling of Tissue-Equivalent Proportional Counters