Wave functions with terms linear in the interelectronic coordinates to take care of the correlation cusp. I. General theory | Synapse