Least-squares refinement with subsidiary conditions | Synapse