Canonical partition functions of freely jointed chains | Synapse