Variation in the Absolute Photonic Band Gap of Rods Ranging from Square to Octagonal in Square Lattices