Text this: Homogenization of foil windings with globally supported polynomial shape functions