rename checkLinearConstraints to lav_constraints_check_linear