Crystal Chemistry and Electronic Structure of Magnesium based Mackay Icosahedron Type Approximants