Investigating the Effects of Magnesium Doping in Various Ni-Rich Positive Electrode Materials for Lithium Ion Batteries