Solar Cell Band Diagram For Magnesium