Changed TriangularMembershipFunction.equals() implementation (thanks to Joshua)