Fixed typo.
Fixed half pixel error in giv output.