Threshold Logic with One or more than One Threshold