Gyroid Optical Metamaterials: Calculating the Effective Permittivity of Multidomain Samples