A current-mode circuit for fuzzy partition membership functions