Atomic Simulation of Electrooptic and Magnetooptic Oxide Materials