Corrected bugs in PointArray constructors