Added saveToImage which may help you debug the simulation