Bug fixes to foam simulation. Still reporting ~12% when it should get 8.5%