generalized analyticShear calculator