simulation working, but has artifacts. Plot is not working well.