draft of .gro writer, fixed bug in box length setter