Gadget snapshots: Fixed bug where seeks for 2d arrays were wrong, i.e. positions and velocities for non-gas particles. Also closed files after opening them