Refactor geom class to ensure output in integer format. Implement
rectangular class.