Optical Simulation And Fabrication Of Pancharatnam (Geometric) Phase Devices From Liquid Crystals