implementing automated laph2 source and sink expression calculation. necessary when using displacements.