Add Linear class to represent a linear constraint