Added Class Triangle for IFS