A matrix method to determine infinitesimally mobile linkages with only first-order infinitesimal mobility