Numerical Analysis and Optimisation of Class Based Queueing