Simplified algorithms for calculating double-couple rotation