Wong Wang model code without noise and different values for the scaling factor.