Polarization and wavelength dependent nonlinear optical properties of a photo-switchable organic crystal