Created by: Kick-H
Added a function to distinguish whether to include virial when outputting xyz format.