init_kperp2 allocates and initialises the kperp2 array
allocate the kperp2 array to contain |k_perp|^2