KNOT PROBABILITY FOR LATTICE POLYGONS IN CONFINED GEOMETRIES