Architect Alex Gil and his wife, Claudia DeSimio, affixed a 750-square-foot addition to the roof of a 19th century Williamsburg townhouse, transforming their cramped third-floor apartment into a modern duplex.