Testing out importance resampling.