Symmetry-general least-squares extraction of elastic data for strained materials fromab initiocalculations of stress | Synapse