(2014). Computer modelling of optical materials for laser applications: rare earth doping in YLiF4 and BaMgF4