added rectangle, fixed pinhole camera (coordinate system)