Fixed problems with write_rectgrd