Update function to check all linearly dependent features