How and Why do Optical Illusions Work?