added unit conversion to .gro writer