Fixed a bug in the logger classes which prevented it from streaming simulation state data to a file. Also fixed time of flight calculation in the Weapon class.