Title: Optimisation of Uniform Ion Doping of Materials