A current-mode two-quadrant multiplier for analog array-based neural systems